﻿using System;
using System.Collections.Generic;

using System.Text;

namespace Ecreate.Popedom.Dao.Hibernate
{
    public class GroupAssignDaoImpl:IGroupAssignDao
    {
        public IList<tGroupassign> getListByGroupID(long Id)
        {
            NHibernate.ISession s = Utility.getSessionFactory().GetCurrentSession();
            tGroup group = (tGroup)s.Load(typeof(tGroup), Id);
            return group.Assigns;
        }


    }
}
